import request from '@/utils/request'

export function lists(data){
   return  request({
       url: '/goods/getList',
       method: 'post',
       data
   });
}


export function details(data)
{
  return request({
    url:'/goods/details',
    method:'post',
    data
  });
}


export function create(data){
    return request({
        url:'/goods/create',
        method:'post',
        data
    });
}


export function update(data)
{
    return request({
        url:'/goods/update',
        method:'post',
        data
    });
}


export function deleted(data){
    return request({
        url:'/goods/delete',
        method:'post',
        data
    });
}
